<!DOCTYPE html>

<html class="no-js">
<!-- sdf -->

<head>
  <meta charset="utf-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <title></title>
  <meta name="description" content="" />
  <meta name="viewport" content="width=device-width, initial-scale=1" />
  <script src="https://cdn.staticfile.org/vue/2.5.17/vue.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/element-ui/2.4.11/index.js"></script>
  <script src="https://cdn.staticfile.org/echarts/4.2.1-rc1/echarts.min.js"></script>
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/element-ui/2.4.11/theme-chalk/index.css" />
  <link rel="stylesheet" href="../../../lib/index.css" />
  <script src="../../../lib/avue.js"></script>

</head>

<body>
  <div id="app">
    <avue-echart-scatter :option='option' :data="data"></avue-echart-scatter>
  </div>
</body>
<script>
  new Vue({
    el: '#app',
    data() {
      return {
        option: {
          title: '2019年度潍坊城市销售额排名',
          lineSize: 25,
          barColor: [{
              postion: 0.2,
              color1: '#91c7ae'
            },
            {
              postion: 0.8,
              color1: '#63869e'
            },
            {
              postion: 1,
              color1: '#c23531'
            }
          ]
        },
        data: [{
            data: [
              [1, 8.04],
              [2, 6.95],
              [3, 7.58],
              [4, 8.81],
              [5, 8.33],
              [6, 9.96],
              [7, 7.24]
            ]
          },
          {
            data: [
              [1, 4.04],
              [2, 3.95],
              [3, 6.58],
              [4, 7.81],
              [5, 4.33],
              [6, 8.96],
              [7, 5.24]
            ]

          }
        ]

      }
    }
  })

</script>

</html>
